package com.ficus.road.maintain.core.model.digitalTwin;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.util.Date;
import java.util.List;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Asset {
    @Id
    private String id;

    private String roadId;

    private String type;

    private int code;

    private Point point;

    private RelPoint relPoint;

    private BBox bBox;

    private RelBBox relBBox;

    private Cube cube;

    private RelCube relCube;

    private String picUrl;

    private String assetMaskPicUrl;
    private Long timestamp;
    private String trackId;
    private GpsResult gpsResult;
    private List<Double> location;
    private Date creationTime;

    /**
     * 前端MapId
     */
    private String mapId;
    //当前道路宽度
    //当前道路车道数
    private LaneInfo laneInfo;


}
